import http from "../request/request.js"

// 书架页面	start
// export const getBookshelfApi = (params) =>{		// 获取书籍列表
// 	return http.get("/wxxcx/favorites",params)
// }

/**
	发送验证码
*/
export const getSendCodeApi = (params) =>{
	return http.post("/api/user/sendCode",params)
}

/** 
 * 登录接口
 */
export const toLoginApi = (params) =>{
	return http.post("/api/user/register",params)
}

/** 
 * 修改手机号
 */
export const changePhoneApi = (params) =>{
	return http.post("/api/user/updatePhone",params)
}

/** 
 * 退出登录
 */
export const loginOutApi = (params) =>{
	return http.post("/api/user/getLogout",params)
}
